package cn.com.api.service.impl.base;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.com.api.entity.ApiT_member_idcard;

import cn.com.api.mapper.ApiT_member_idcardMapper;

import cn.com.api.service.ApiT_member_idcardService;

/**
 * 
 **/
@Service
public class T_member_idcardServiceImplBase {
	@Autowired
	private ApiT_member_idcardMapper apiT_member_idcardMapper;
    
    // 根据id获取
	public ApiT_member_idcard findT_member_idcardById(Integer id){
		ApiT_member_idcard t_member_idcard = apiT_member_idcardMapper.findT_member_idcardById( id );
		return t_member_idcard;
	}
    
    //查看数据集
	public List<ApiT_member_idcard> findT_member_idcards(){
        List<ApiT_member_idcard> t_member_idcards = apiT_member_idcardMapper.findT_member_idcards();
		return t_member_idcards;
    }
    
	// 添加
	public int insertT_member_idcard(ApiT_member_idcard t_member_idcard){
		int ret_I= apiT_member_idcardMapper.insertT_member_idcard(t_member_idcard);
		return ret_I;
	}

	// 修改
	public int updateT_member_idcard(ApiT_member_idcard t_member_idcard){
		int ret_I= apiT_member_idcardMapper.updateT_member_idcard(t_member_idcard);
		return ret_I;
	}
	
    // 删除
	public int deleteT_member_idcard(Integer id){
		int ret_I= apiT_member_idcardMapper.deleteT_member_idcard( id );
		return ret_I;
	}
	
    // Foreign keys revelant		
		

	//region Indexs revelant
    
    
    
    
}


